﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Cld-SearchControl.ascx.cs" Inherits="searchControl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

 
 <asp:UpdatePanel ID="dfd" runat="server" UpdateMode="Conditional"><ContentTemplate>
 <div class="refine_search_box">
          <h1><img src="/Classified/images/rentelsearch.png" height="24" width="24" border="0" align="absmiddle"> refine search</h1>
          
          <p class="heading ml10px">Ad Title</p>
          <asp:TextBox ID="AdTitle" runat="server" CssClass="input_size1" ></asp:TextBox>
          <cc1:TextBoxWatermarkExtender ID="TBWE2" runat="server" TargetControlID="AdTitle" WatermarkText="Ad Title" />
        

         <%-- <p class="hadding">Locations</p>

          <asp:DropDownList ID="ddlLocation" runat="server" CssClass="selectsize"></asp:DropDownList>

          

          <div class="listbox_icon"></div>--%>
          <p class="heading ml10px">Categories</p>
         <asp:DropDownList ID="ddlCategory" runat="server" CssClass="selectsize" AutoPostBack="true" OnSelectedIndexChanged="ddlCategory_SelectedIndexChanged"></asp:DropDownList>
          <div class="listbox_icon"></div>
          <p class="heading ml10px">Types</p>
          <asp:DropDownList ID="ddlSubCategory" runat="server" CssClass="selectsize"></asp:DropDownList> 
          <div class="listbox_icon"></div> 
          <div class="clear"></div>
          <div class="savesearch">
        <asp:ImageButton ID="btnAdvanceSearch" runat="server" 
                  ImageUrl="~/Classified/images/savesearch.jpg" height="30" width="184" border="0" 
                  onclick="btnAdvanceSearch_Click" />
                  <br />
                  <asp:Label ID="lblMessage" runat="server" EnableViewState="false" ForeColor="Red"></asp:Label>
      </div>
        </div>
        </ContentTemplate></asp:UpdatePanel>